package com.jiyun.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class TaskDemo {

    @Scheduled(cron = "0/3 * * * * *")
    public void demo(){
        System.out.println("12312312");
    }
}
